﻿using Microsoft.Commerce.Contracts;

namespace MusicWorks.Service.DataContracts
{
    public class Variant : CatalogEntity
    {
        /// <summary>
        /// defines the model name for this commerce entity
        /// </summary>
        public const string ModelNameDefinition = "Variant";

        /// <summary>
        /// Initializes a new instance of the <see cref="Variant"/> class.
        /// </summary>
        public Variant()
            : base()
        {
            CommerceEntity = new CommerceEntity(ModelNameDefinition);
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="Variant"/> class.
        /// </summary>
        /// <param name="commerceEntity">The commerce entity.</param>
        public Variant(CommerceEntity commerceEntity)
            : base(commerceEntity)
        {
            CommerceEntity = commerceEntity;
        }
    }
}